#-----------------------------------------------------------------------

MINIFE_TYPES =  \
        -DMINIFE_SCALAR=double   \
        -DMINIFE_LOCAL_ORDINAL=int      \
        -DMINIFE_GLOBAL_ORDINAL=int

MINIFE_MATRIX_TYPE = -DMINIFE_CSR_MATRIX
# MINIFE_MATRIX_TYPE = -DMINIFE_ELL_MATRIX

#-----------------------------------------------------------------------

CFLAGS = -O2 -g -OPT:IEEE_arith=2 -std=gnu99 -msimd -I/home/export/online1/swmore/opensource/lwpf2
CXXFLAGS = -O3 -g -OPT:IEEE_arith=2 -msimd

CPPFLAGS = -I. -I../utils -I../fem $(MINIFE_TYPES) $(MINIFE_MATRIX_TYPE) \
	-DHAVE_MPI -DMPICH_IGNORE_CXX_SEEK \
	-DMINIFE_REPORT_RUSAGE

LDFLAGS=
LIBS=$(LINK_SPC)

CXX=mpiCC
CC=mpicc
SCC=sw5cc -slave
LDR=sw5ld
#CXX=g++
#CC=gcc

include make_targets

